<?php
class ent_newsheaders extends Lead_EDO_Object_Abstract
{

    static $_tables = array('ent_newsshort');
    
    public $destination2;
    
    public $dateformat;

    
    public function fetch($id)
    {
        parent::fetch($id);
        
   		if ($this->showdate) {
			$this->dateformat .= "j.n.Y";
		}
			
		if ($this->showtime) {
			$this->dateformat .= ", H:i";
		}

		$this->destination2 = explode(";", $this->destination);					

        
    }
    
    
    
}
